package org.ssm.dao;
import org.apache.ibatis.annotations.Param;
import org.ssm.entity.SuccessKilled;
/**
 * 
 * @author Rocky Gao  
 * @date 2018��4��4��
 */
public interface SuccessKilledDao {
	
	/**
	 * ���빺����ϸ���ɹ����ظ�
	 * @param seckilledId
	 * @param userPhone
	 * @return
	 */
	int insertSuccessKilled(@Param("seckilledId") long seckilledId,@Param("userPhone") long userPhone);
	
	/**
	 * ����ID��ѯsuccess��Я����Ʒ��ɱʵ�����
	 * @param seckilledId
	 * @return
	 */
	SuccessKilled queryByIdWithSeckill(@Param("seckilledId") long seckilledId,@Param("userPhone") long userPhone);
	
	
}
